package com.tangcan.blog.Entity;
public class Comment {
    private Integer Id;
    private String Comment;
    private Integer UserId;
    private String Time;
    private Integer BlogId;
    private String UserName;

    public Comment() {
    }

    public Comment(Integer id, String comment, Integer userId, String time, Integer blogId, String userName) {
        Id = id;
        Comment = comment;
        UserId = userId;
        Time = time;
        BlogId = blogId;
        UserName = userName;
    }

    public Integer getId() {
        return Id;
    }

    public void setId(Integer id) {
        Id = id;
    }

    public String getComment() {
        return Comment;
    }

    public void setComment(String comment) {
        Comment = comment;
    }

    public Integer getUserId() {
        return UserId;
    }

    public void setUserId(Integer userId) {
        UserId = userId;
    }

    public String getTime() {
        return Time;
    }

    public void setTime(String time) {
        Time = time;
    }

    public Integer getBlogId() {
        return BlogId;
    }

    public void setBlogId(Integer blogId) {
        BlogId = blogId;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }
}
